$--icon-width: 60px;

.flowy-card {
  width: 100%;
  height: 100%;
  display: flex;

  .flowy-card-icon {
    width: $--icon-width;
    height: 100%;
    // padding: 19px 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;

    &-image {
      width: 40px;
      height: 40px;
      border: 1px solid #efefef;
      border-radius: 4px;
    }
  }

  .flowy-card-item {
    flex: 1;
    height: 100%;
    overflow: visible;

    .title {
      font-size: 1.2em;
      width: 100%;
      height: 40px;
      line-height: 40px;
      padding: 0 16px 0 0;
      white-space: nowrap;
      text-overflow: ellipsis;
      display: flex;
      justify-content: space-between;
      align-items: center;
      overflow: visible;

      .el-tooltip {
        font-weight: 600;
        color: rgba(0, 0, 0, 0.75);
        text-overflow: ellipsis;
        width: 170px;
        overflow: hidden;
      }

      .more_operation {
        position: relative;
        display: flex;
        width: 14px;
        height: 14px;

        .el-icon-more {
          font-size: 15px;
          color: #7B7B7B;
          cursor: pointer;
        }

        .icon_edit {
          width: 25px;
          height: 100%;
          font-size: 14px;
        }

        img {
          width: 100%;
          height: 100%;
        }

        .drop_down_block {
          display: none;
          position: absolute;
          background-color: #fff;
          width: 150px;
          box-shadow: -2px 0px 8px 0px rgba(107, 107, 107, 0.1);
          border-radius: 2px;
          top: 25px;
          left: -50%;
          z-index: 1000;

          .edit_operation {
            padding-left: 10px;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            cursor: pointer;
            font-size: 14px;

            img {
              height: 14px;
              width: 14px;
              margin-right: 10px;
            }
          }
        }
      }
    }

    .tips {
      border-top: 1px dotted #efefef;
    }

    .description {
      position: relative;
      border-top: 1px solid #efefef;

      .edit_icon_desc {
        display: none;
        position: absolute;
        top: 5px;
        right: 15px;
        width: 14px;
        height: 14px;
        cursor: pointer;

        .icon_edit {
          font-size: 14px;
        }
      }

      .input_desc {
        display: none;
        padding: 5px 0;

        input {
          border: 1px solid #efefef;
          height: 40px;
          width: 80%;
        }
      }
    }

    .description:hover .edit_icon_desc {
      display: block;
    }

    .tips-area,
    .content-area {
      width: 100%;
      height: 56px;
      line-height: 28px;
      overflow: hidden;
      display: flex;
      align-items: center;
      padding-right: 16px;
      color: #666666;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
  }
}


.action .content,
.content .tips {
  display: none;
}